<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:forgeview="http://jboss.org/forge/view"	
	template="/resources/templates/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="id" value="#{sysOrgBean.id}"/>
		<f:event type="preRenderView" listener="#{sysOrgBean.retrieve}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="Create Sys Org"/>

	<ui:define name="header">
		Sys Org
	</ui:define>

	<ui:define name="subheader">
		<c:choose>
			<c:when test="#{!empty sysOrgBean.id}">
				Edit existing Sys Org
			</c:when>
			<c:otherwise>
				Create a new Sys Org
			</c:otherwise>
		</c:choose>
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:form id="create">
			<h:messages globalOnly="true" styleClass="error"/>

			<h:panelGrid columnClasses="label,component,required" columns="3">
				<h:outputLabel for="sysOrgBeanSysOrgOrgTypeNo" value="Org Type No:"/>
				<h:panelGroup>
					<h:inputText id="sysOrgBeanSysOrgOrgTypeNo" value="#{sysOrgBean.sysOrg.orgTypeNo}"/>
					<h:message for="sysOrgBeanSysOrgOrgTypeNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysOrgBeanSysOrgOrgCode" value="Org Code:"/>
				<h:panelGroup>
					<h:inputText id="sysOrgBeanSysOrgOrgCode" maxLength="5" value="#{sysOrgBean.sysOrg.orgCode}"/>
					<h:message for="sysOrgBeanSysOrgOrgCode" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysOrgBeanSysOrgOrgName" value="Org Name:"/>
				<h:panelGroup>
					<h:inputText id="sysOrgBeanSysOrgOrgName" maxLength="100" value="#{sysOrgBean.sysOrg.orgName}"/>
					<h:message for="sysOrgBeanSysOrgOrgName" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysOrgBeanSysOrgBaseOrgNo" value="Base Org No:"/>
				<h:panelGroup>
					<h:inputText id="sysOrgBeanSysOrgBaseOrgNo" value="#{sysOrgBean.sysOrg.baseOrgNo}"/>
					<h:message for="sysOrgBeanSysOrgBaseOrgNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysOrgBeanSysOrgAddrNo" value="Addr No:"/>
				<h:panelGroup>
					<h:inputText id="sysOrgBeanSysOrgAddrNo" maxLength="50" value="#{sysOrgBean.sysOrg.addrNo}"/>
					<h:message for="sysOrgBeanSysOrgAddrNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysOrgBeanSysOrgAddrMoo" value="Addr Moo:"/>
				<h:panelGroup>
					<h:inputText id="sysOrgBeanSysOrgAddrMoo" value="#{sysOrgBean.sysOrg.addrMoo}"/>
					<h:message for="sysOrgBeanSysOrgAddrMoo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysOrgBeanSysOrgAddrBuilding" value="Addr Building:"/>
				<h:panelGroup>
					<h:inputText id="sysOrgBeanSysOrgAddrBuilding" maxLength="100" value="#{sysOrgBean.sysOrg.addrBuilding}"/>
					<h:message for="sysOrgBeanSysOrgAddrBuilding" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysOrgBeanSysOrgAddrSoi" value="Addr Soi:"/>
				<h:panelGroup>
					<h:inputText id="sysOrgBeanSysOrgAddrSoi" maxLength="50" value="#{sysOrgBean.sysOrg.addrSoi}"/>
					<h:message for="sysOrgBeanSysOrgAddrSoi" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysOrgBeanSysOrgAddrRoad" value="Addr Road:"/>
				<h:panelGroup>
					<h:inputText id="sysOrgBeanSysOrgAddrRoad" maxLength="50" value="#{sysOrgBean.sysOrg.addrRoad}"/>
					<h:message for="sysOrgBeanSysOrgAddrRoad" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysOrgBeanSysOrgAddr1" value="Addr 1:"/>
				<h:panelGroup>
					<h:inputText id="sysOrgBeanSysOrgAddr1" maxLength="100" value="#{sysOrgBean.sysOrg.addr1}"/>
					<h:message for="sysOrgBeanSysOrgAddr1" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysOrgBeanSysOrgAddr2No" value="Addr 2No:"/>
				<h:panelGroup>
					<h:inputText id="sysOrgBeanSysOrgAddr2No" value="#{sysOrgBean.sysOrg.addr2No}"/>
					<h:message for="sysOrgBeanSysOrgAddr2No" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysOrgBeanSysOrgAddr3No" value="Addr 3No:"/>
				<h:panelGroup>
					<h:inputText id="sysOrgBeanSysOrgAddr3No" value="#{sysOrgBean.sysOrg.addr3No}"/>
					<h:message for="sysOrgBeanSysOrgAddr3No" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysOrgBeanSysOrgAddr4No" value="Addr 4No:"/>
				<h:panelGroup>
					<h:inputText id="sysOrgBeanSysOrgAddr4No" value="#{sysOrgBean.sysOrg.addr4No}"/>
					<h:message for="sysOrgBeanSysOrgAddr4No" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysOrgBeanSysOrgAddr5" value="Addr 5:"/>
				<h:panelGroup>
					<h:inputText id="sysOrgBeanSysOrgAddr5" maxLength="10" value="#{sysOrgBean.sysOrg.addr5}"/>
					<h:message for="sysOrgBeanSysOrgAddr5" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysOrgBeanSysOrgPhoneNo" value="Phone No:"/>
				<h:panelGroup>
					<h:inputText id="sysOrgBeanSysOrgPhoneNo" maxLength="20" value="#{sysOrgBean.sysOrg.phoneNo}"/>
					<h:message for="sysOrgBeanSysOrgPhoneNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysOrgBeanSysOrgMobileNo" value="Mobile No:"/>
				<h:panelGroup>
					<h:inputText id="sysOrgBeanSysOrgMobileNo" maxLength="20" value="#{sysOrgBean.sysOrg.mobileNo}"/>
					<h:message for="sysOrgBeanSysOrgMobileNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysOrgBeanSysOrgMgrNo" value="Mgr No:"/>
				<h:panelGroup>
					<h:inputText id="sysOrgBeanSysOrgMgrNo" value="#{sysOrgBean.sysOrg.mgrNo}"/>
					<h:message for="sysOrgBeanSysOrgMgrNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysOrgBeanSysOrgCerVatReg" value="Cer Vat Reg:"/>
				<h:panelGroup>
					<h:inputText id="sysOrgBeanSysOrgCerVatReg" maxLength="50" value="#{sysOrgBean.sysOrg.cerVatReg}"/>
					<h:message for="sysOrgBeanSysOrgCerVatReg" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysOrgBeanSysOrgSysSeqAccJnSps" value="Sys Seq Acc Jn Sps:"/>
				<h:panelGroup>
					<ui:param name="_collection" value="#{sysOrgBean.sysOrg.sysSeqAccJnSps}"/>
					<h:dataTable id="sysOrgBeanSysOrgSysSeqAccJnSps" styleClass="data-table" value="#{forgeview:asList(_collection)}" var="_item">
						<h:column>
							<f:facet name="header">
								<h:outputText value="Prefix 01"/>
							</f:facet>
							<h:link outcome="/form/sysSeqAccJnSp/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemPrefix01" value="#{_item.prefix01}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="sysSeqAccJnSpBeanAddPrefix01" maxLength="10" value="#{sysSeqAccJnSpBean.add.prefix01}"/>
								<h:message for="sysSeqAccJnSpBeanAddPrefix01" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Current Seq No"/>
							</f:facet>
							<h:link outcome="/form/sysSeqAccJnSp/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemCurrentSeqNo" value="#{_item.currentSeqNo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="sysSeqAccJnSpBeanAddCurrentSeqNo" value="#{sysSeqAccJnSpBean.add.currentSeqNo}"/>
								<h:message for="sysSeqAccJnSpBeanAddCurrentSeqNo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Current Date Prefix 01"/>
							</f:facet>
							<h:link outcome="/form/sysSeqAccJnSp/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemCurrentDatePrefix01" value="#{_item.currentDatePrefix01}">
									<f:convertDateTime type="date"/>
								</h:outputText>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="sysSeqAccJnSpBeanAddCurrentDatePrefix01" maxLength="10" value="#{sysSeqAccJnSpBean.add.currentDatePrefix01}">
									<f:convertDateTime type="date"/>
								</h:inputText>
								<h:message for="sysSeqAccJnSpBeanAddCurrentDatePrefix01" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column footerClass="remove-column" headerClass="remove-column">
							<h:commandLink action="#{_collection.remove(_item)}" styleClass="remove-button"/>
							<f:facet name="footer">
								<h:commandLink action="#{_collection.add(sysSeqAccJnSpBean.added)}" id="sysOrgBeanSysOrgSysSeqAccJnSpsAdd" styleClass="add-button">
									<f:setPropertyActionListener target="#{sysSeqAccJnSpBean.add.sysOrg}" value="#{sysOrgBean.sysOrg}"/>
								</h:commandLink>
							</f:facet>
						</h:column>
					</h:dataTable>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysOrgBeanSysOrgSysSeqSaleLoanContracts" value="Sys Seq Sale Loan Contracts:"/>
				<h:panelGroup>
					<ui:param name="_collection" value="#{sysOrgBean.sysOrg.sysSeqSaleLoanContracts}"/>
					<h:dataTable id="sysOrgBeanSysOrgSysSeqSaleLoanContracts" styleClass="data-table" value="#{forgeview:asList(_collection)}" var="_item">
						<h:column>
							<f:facet name="header">
								<h:outputText value="Current Seq No"/>
							</f:facet>
							<h:link outcome="/form/sysSeqSaleLoanContract/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemCurrentSeqNo" value="#{_item.currentSeqNo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="sysSeqSaleLoanContractBeanAddCurrentSeqNo" value="#{sysSeqSaleLoanContractBean.add.currentSeqNo}"/>
								<h:message for="sysSeqSaleLoanContractBeanAddCurrentSeqNo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column footerClass="remove-column" headerClass="remove-column">
							<h:commandLink action="#{_collection.remove(_item)}" styleClass="remove-button"/>
							<f:facet name="footer">
								<h:commandLink action="#{_collection.add(sysSeqSaleLoanContractBean.added)}" id="sysOrgBeanSysOrgSysSeqSaleLoanContractsAdd" styleClass="add-button">
									<f:setPropertyActionListener target="#{sysSeqSaleLoanContractBean.add.sysOrg}" value="#{sysOrgBean.sysOrg}"/>
								</h:commandLink>
							</f:facet>
						</h:column>
					</h:dataTable>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysOrgBeanSysOrgSysUserLogins" value="Sys User Logins:"/>
				<h:panelGroup>
					<ui:param name="_collection" value="#{sysOrgBean.sysOrg.sysUserLogins}"/>
					<h:dataTable id="sysOrgBeanSysOrgSysUserLogins" styleClass="data-table" value="#{forgeview:asList(_collection)}" var="_item">
						<h:column>
							<f:facet name="header">
								<h:outputText value="Sys Org"/>
							</f:facet>
							<h:link outcome="/form/sysUserLogin/view">
								<f:param name="id" value="#{_item.userNo}"/>
								<h:outputText id="forgeviewdisplayitemSysOrg" value="#{forgeview:display(_item.sysOrg)}"/>
							</h:link>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Hr Emp"/>
							</f:facet>
							<h:link outcome="/form/sysUserLogin/view">
								<f:param name="id" value="#{_item.userNo}"/>
								<h:outputText id="forgeviewdisplayitemHrEmp" value="#{forgeview:display(_item.hrEmp)}"/>
							</h:link>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Sys User Role"/>
							</f:facet>
							<h:link outcome="/form/sysUserLogin/view">
								<f:param name="id" value="#{_item.userNo}"/>
								<h:outputText id="forgeviewdisplayitemSysUserRole" value="#{forgeview:display(_item.sysUserRole)}"/>
							</h:link>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="User Name"/>
							</f:facet>
							<h:link outcome="/form/sysUserLogin/view">
								<f:param name="id" value="#{_item.userNo}"/>
								<h:outputText id="itemUserName" value="#{_item.userName}"/>
							</h:link>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="User Password"/>
							</f:facet>
							<h:link outcome="/form/sysUserLogin/view">
								<f:param name="id" value="#{_item.userNo}"/>
								<h:outputText id="itemUserPassword" value="#{_item.userPassword}"/>
							</h:link>
						</h:column>
						<h:column footerClass="remove-column" headerClass="remove-column">
							<h:commandLink action="#{_collection.remove(_item)}" styleClass="remove-button"/>
						</h:column>
					</h:dataTable>
					<h:panelGrid columnClasses=",remove-column" columns="2" styleClass="data-table-footer">
						<h:selectOneMenu converter="#{sysUserLoginBean.converter}" id="sysOrgBeanSysOrgSysUserLoginsSelect" value="#{requestScope['sysOrgBeanSysOrgSysUserLoginsSelect']}">
							<f:selectItem/>
							<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{sysUserLoginBean.all}" var="_item"/>
						</h:selectOneMenu>
						<h:commandLink action="#{_collection.add(requestScope['sysOrgBeanSysOrgSysUserLoginsSelect'])}" id="sysOrgBeanSysOrgSysUserLoginsAdd" onclick="if (document.getElementById(document.forms[0].id+':sysOrgBeanSysOrgSysUserLoginsSelect').selectedIndex &lt; 1) { alert('Must select a Sys User Login'); return false; }" styleClass="add-button"/>
					</h:panelGrid>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysOrgBeanSysOrgSaleLoanContracts" value="Sale Loan Contracts:"/>
				<h:panelGroup>
					<ui:param name="_collection" value="#{sysOrgBean.sysOrg.saleLoanContracts}"/>
					<h:dataTable id="sysOrgBeanSysOrgSaleLoanContracts" styleClass="data-table" value="#{forgeview:asList(_collection)}" var="_item">
						<h:column>
							<f:facet name="header">
								<h:outputText value="Hr Emp"/>
							</f:facet>
							<h:link outcome="/form/saleLoanContract/view">
								<f:param name="id" value="#{_item.recNo}"/>
								<h:outputText id="forgeviewdisplayitemHrEmp" value="#{forgeview:display(_item.hrEmp)}"/>
							</h:link>
							<f:facet name="footer">
								<h:selectOneMenu converter="#{hrEmpBean.converter}" id="saleLoanContractBeanAddHrEmp" value="#{saleLoanContractBean.add.hrEmp}">
									<f:selectItem/>
									<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{hrEmpBean.all}" var="_item"/>
								</h:selectOneMenu>
								<h:message for="saleLoanContractBeanAddHrEmp" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Sys Cust"/>
							</f:facet>
							<h:link outcome="/form/saleLoanContract/view">
								<f:param name="id" value="#{_item.recNo}"/>
								<h:outputText id="forgeviewdisplayitemSysCust" value="#{forgeview:display(_item.sysCust)}"/>
							</h:link>
							<f:facet name="footer">
								<h:selectOneMenu converter="#{sysCustBean.converter}" id="saleLoanContractBeanAddSysCust" value="#{saleLoanContractBean.add.sysCust}">
									<f:selectItem/>
									<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{sysCustBean.all}" var="_item"/>
								</h:selectOneMenu>
								<h:message for="saleLoanContractBeanAddSysCust" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Sys Vehicle Brand"/>
							</f:facet>
							<h:link outcome="/form/saleLoanContract/view">
								<f:param name="id" value="#{_item.recNo}"/>
								<h:outputText id="forgeviewdisplayitemSysVehicleBrand" value="#{forgeview:display(_item.sysVehicleBrand)}"/>
							</h:link>
							<f:facet name="footer">
								<h:selectOneMenu converter="#{sysVehicleBrandBean.converter}" id="saleLoanContractBeanAddSysVehicleBrand" value="#{saleLoanContractBean.add.sysVehicleBrand}">
									<f:selectItem/>
									<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{sysVehicleBrandBean.all}" var="_item"/>
								</h:selectOneMenu>
								<h:message for="saleLoanContractBeanAddSysVehicleBrand" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Sale Loan Grade"/>
							</f:facet>
							<h:link outcome="/form/saleLoanContract/view">
								<f:param name="id" value="#{_item.recNo}"/>
								<h:outputText id="forgeviewdisplayitemSaleLoanGrade" value="#{forgeview:display(_item.saleLoanGrade)}"/>
							</h:link>
							<f:facet name="footer">
								<h:selectOneMenu converter="#{saleLoanGradeBean.converter}" id="saleLoanContractBeanAddSaleLoanGrade" value="#{saleLoanContractBean.add.saleLoanGrade}">
									<f:selectItem/>
									<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{saleLoanGradeBean.all}" var="_item"/>
								</h:selectOneMenu>
								<h:message for="saleLoanContractBeanAddSaleLoanGrade" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Sys Income Level"/>
							</f:facet>
							<h:link outcome="/form/saleLoanContract/view">
								<f:param name="id" value="#{_item.recNo}"/>
								<h:outputText id="forgeviewdisplayitemSysIncomeLevel" value="#{forgeview:display(_item.sysIncomeLevel)}"/>
							</h:link>
							<f:facet name="footer">
								<h:selectOneMenu converter="#{sysIncomeLevelBean.converter}" id="saleLoanContractBeanAddSysIncomeLevel" value="#{saleLoanContractBean.add.sysIncomeLevel}">
									<f:selectItem/>
									<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{sysIncomeLevelBean.all}" var="_item"/>
								</h:selectOneMenu>
								<h:message for="saleLoanContractBeanAddSysIncomeLevel" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column footerClass="remove-column" headerClass="remove-column">
							<h:commandLink action="#{_collection.remove(_item)}" styleClass="remove-button"/>
							<f:facet name="footer">
								<h:commandLink action="#{_collection.add(saleLoanContractBean.added)}" id="sysOrgBeanSysOrgSaleLoanContractsAdd" styleClass="add-button">
									<f:setPropertyActionListener target="#{saleLoanContractBean.add.sysOrg}" value="#{sysOrgBean.sysOrg}"/>
								</h:commandLink>
							</f:facet>
						</h:column>
					</h:dataTable>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysOrgBeanSysOrgSaleLoanOffers" value="Sale Loan Offers:"/>
				<h:panelGroup>
					<ui:param name="_collection" value="#{sysOrgBean.sysOrg.saleLoanOffers}"/>
					<h:dataTable id="sysOrgBeanSysOrgSaleLoanOffers" styleClass="data-table" value="#{forgeview:asList(_collection)}" var="_item">
						<h:column>
							<f:facet name="header">
								<h:outputText value="Rec No"/>
							</f:facet>
							<h:link outcome="/form/saleLoanOffer/view">
								<f:param name="id" value="#{_item.recNo}"/>
								<h:outputText id="itemRecNo" value="#{_item.recNo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="saleLoanOfferBeanAddRecNo" value="#{saleLoanOfferBean.add.recNo}"/>
								<h:message for="saleLoanOfferBeanAddRecNo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Loan Type No"/>
							</f:facet>
							<h:link outcome="/form/saleLoanOffer/view">
								<f:param name="id" value="#{_item.recNo}"/>
								<h:outputText id="itemLoanTypeNo" value="#{_item.loanTypeNo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="saleLoanOfferBeanAddLoanTypeNo" value="#{saleLoanOfferBean.add.loanTypeNo}"/>
								<h:message for="saleLoanOfferBeanAddLoanTypeNo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column footerClass="remove-column" headerClass="remove-column">
							<h:commandLink action="#{_collection.remove(_item)}" styleClass="remove-button"/>
							<f:facet name="footer">
								<h:commandLink action="#{_collection.add(saleLoanOfferBean.added)}" id="sysOrgBeanSysOrgSaleLoanOffersAdd" styleClass="add-button">
									<f:setPropertyActionListener target="#{saleLoanOfferBean.add.sysOrg}" value="#{sysOrgBean.sysOrg}"/>
								</h:commandLink>
							</f:facet>
						</h:column>
					</h:dataTable>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysOrgBeanSysOrgSysUserLogins1" value="Sys User Logins_1:"/>
				<h:panelGroup>
					<ui:param name="_collection" value="#{sysOrgBean.sysOrg.sysUserLogins_1}"/>
					<h:dataTable id="sysOrgBeanSysOrgSysUserLogins1" styleClass="data-table" value="#{forgeview:asList(_collection)}" var="_item">
						<h:column>
							<f:facet name="header">
								<h:outputText value="Hr Emp"/>
							</f:facet>
							<h:link outcome="/form/sysUserLogin/view">
								<f:param name="id" value="#{_item.userNo}"/>
								<h:outputText id="forgeviewdisplayitemHrEmp" value="#{forgeview:display(_item.hrEmp)}"/>
							</h:link>
							<f:facet name="footer">
								<h:selectOneMenu converter="#{hrEmpBean.converter}" id="sysUserLoginBeanAddHrEmp" value="#{sysUserLoginBean.add.hrEmp}">
									<f:selectItem/>
									<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{hrEmpBean.all}" var="_item"/>
								</h:selectOneMenu>
								<h:message for="sysUserLoginBeanAddHrEmp" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Sys User Role"/>
							</f:facet>
							<h:link outcome="/form/sysUserLogin/view">
								<f:param name="id" value="#{_item.userNo}"/>
								<h:outputText id="forgeviewdisplayitemSysUserRole" value="#{forgeview:display(_item.sysUserRole)}"/>
							</h:link>
							<f:facet name="footer">
								<h:selectOneMenu converter="#{sysUserRoleBean.converter}" id="sysUserLoginBeanAddSysUserRole" value="#{sysUserLoginBean.add.sysUserRole}">
									<f:selectItem/>
									<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{sysUserRoleBean.all}" var="_item"/>
								</h:selectOneMenu>
								<h:message for="sysUserLoginBeanAddSysUserRole" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="User Name"/>
							</f:facet>
							<h:link outcome="/form/sysUserLogin/view">
								<f:param name="id" value="#{_item.userNo}"/>
								<h:outputText id="itemUserName" value="#{_item.userName}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="sysUserLoginBeanAddUserName" maxLength="50" value="#{sysUserLoginBean.add.userName}"/>
								<h:message for="sysUserLoginBeanAddUserName" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="User Password"/>
							</f:facet>
							<h:link outcome="/form/sysUserLogin/view">
								<f:param name="id" value="#{_item.userNo}"/>
								<h:outputText id="itemUserPassword" value="#{_item.userPassword}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="sysUserLoginBeanAddUserPassword" maxLength="50" value="#{sysUserLoginBean.add.userPassword}"/>
								<h:message for="sysUserLoginBeanAddUserPassword" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="User Descr"/>
							</f:facet>
							<h:link outcome="/form/sysUserLogin/view">
								<f:param name="id" value="#{_item.userNo}"/>
								<h:outputText id="itemUserDescr" value="#{_item.userDescr}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="sysUserLoginBeanAddUserDescr" maxLength="100" value="#{sysUserLoginBean.add.userDescr}"/>
								<h:message for="sysUserLoginBeanAddUserDescr" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column footerClass="remove-column" headerClass="remove-column">
							<h:commandLink action="#{_collection.remove(_item)}" styleClass="remove-button"/>
							<f:facet name="footer">
								<h:commandLink action="#{_collection.add(sysUserLoginBean.added)}" id="sysOrgBeanSysOrgSysUserLogins1Add" styleClass="add-button">
									<f:setPropertyActionListener target="#{sysUserLoginBean.add.sysOrg}" value="#{sysOrgBean.sysOrg}"/>
								</h:commandLink>
							</f:facet>
						</h:column>
					</h:dataTable>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysOrgBeanSysOrgSysSeqFinTranses" value="Sys Seq Fin Transes:"/>
				<h:panelGroup>
					<ui:param name="_collection" value="#{sysOrgBean.sysOrg.sysSeqFinTranses}"/>
					<h:dataTable id="sysOrgBeanSysOrgSysSeqFinTranses" styleClass="data-table" value="#{forgeview:asList(_collection)}" var="_item">
						<h:column>
							<f:facet name="header">
								<h:outputText value="Prefix 01"/>
							</f:facet>
							<h:link outcome="/form/sysSeqFinTrans/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemPrefix01" value="#{_item.prefix01}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="sysSeqFinTransBeanAddPrefix01" maxLength="10" value="#{sysSeqFinTransBean.add.prefix01}"/>
								<h:message for="sysSeqFinTransBeanAddPrefix01" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Current Seq No"/>
							</f:facet>
							<h:link outcome="/form/sysSeqFinTrans/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemCurrentSeqNo" value="#{_item.currentSeqNo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="sysSeqFinTransBeanAddCurrentSeqNo" value="#{sysSeqFinTransBean.add.currentSeqNo}"/>
								<h:message for="sysSeqFinTransBeanAddCurrentSeqNo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Current Date Prefix 01"/>
							</f:facet>
							<h:link outcome="/form/sysSeqFinTrans/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemCurrentDatePrefix01" value="#{_item.currentDatePrefix01}">
									<f:convertDateTime type="date"/>
								</h:outputText>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="sysSeqFinTransBeanAddCurrentDatePrefix01" maxLength="10" value="#{sysSeqFinTransBean.add.currentDatePrefix01}">
									<f:convertDateTime type="date"/>
								</h:inputText>
								<h:message for="sysSeqFinTransBeanAddCurrentDatePrefix01" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column footerClass="remove-column" headerClass="remove-column">
							<h:commandLink action="#{_collection.remove(_item)}" styleClass="remove-button"/>
							<f:facet name="footer">
								<h:commandLink action="#{_collection.add(sysSeqFinTransBean.added)}" id="sysOrgBeanSysOrgSysSeqFinTransesAdd" styleClass="add-button">
									<f:setPropertyActionListener target="#{sysSeqFinTransBean.add.sysOrg}" value="#{sysOrgBean.sysOrg}"/>
								</h:commandLink>
							</f:facet>
						</h:column>
					</h:dataTable>
				</h:panelGroup>
				<h:outputText/>
			</h:panelGrid>

			<div class="buttons">
				<h:commandLink value="Save" action="#{sysOrgBean.update}" styleClass="btn btn-primary"/>
				<c:choose>
					<c:when test="#{!empty sysOrgBean.id}">
						<h:link value="Cancel" outcome="view" styleClass="btn btn-primary">
							<f:param name="id" value="#{sysOrgBean.id}"/>
						</h:link>
						<h:commandLink value="Delete" action="#{sysOrgBean.delete}" styleClass="btn btn-primary"/>
					</c:when>
					<c:otherwise>
						<h:link value="Cancel" outcome="search" styleClass="btn btn-primary"/>
					</c:otherwise>
				</c:choose>
			</div>
		</h:form>
	</ui:define>

</ui:composition>